Release 10.1A: OpenEdge Reporting:
Report Builder Deployment


Using the PRINTRB/PRNTRB2 parameters

There are predefined parameters that you must specify when using the PRINTRB or PRNTRB2 interface. These parameters identify the report you want to run and control frequently changed report features, such as filters and print information, allowing you to customize your reports. You specify these parameters as arguments to a procedure, then run the procedure from a Progress 4GL program.

When you use the PRINTRB or PRNTRB2 interface, you must enter all the parameter values in the order in which the parameters appear in Table 5–1 regardless of whether you want to override the default value.

Table 5–1 lists the predefined Report Engine parameters.

Table 5–1: Predefined Report Engine parameters
Parameter name
Contents
Data type
RB-REPORT-LIBRARY
Report library name.
CHARACTER
RB-REPORT-NAME
Report name.
CHARACTER
RB-DB-CONNECTION
Database connection override string.
CHARACTER
RB-INCLUDE-RECORDS
Filter flag.
CHARACTER
RB-FILTER
Filter expression.
CHARACTER
RB-MEMO-FILE
Memo filename.
CHARACTER
RB-PRINT-DESTINATION
Print destination.
CHARACTER
RB-PRINTER-NAME
Printer name.
CHARACTER
RB-PRINTER-PORT
Printer port.
CHARACTER
RB-OUTPUT-FILE
Output filename.
CHARACTER
RB-NUMBER-COPIES
Number of copies.
INTEGER
RB-BEGIN-PAGE
Beginning page number.
INTEGER
RB-END-PAGE
Ending page number.
INTEGER
RB-TEST-PATTERN
Test pattern flag.
LOGICAL
RB-WINDOW-TITLE
Window title.
CHARACTER
RB-DISPLAY-ERRORS
Display error flag.
LOGICAL
RB-DISPLAY-STATUS
Display status flag.
LOGICAL
RB-NO-WAIT
Synchronous or asynchronous processing.
LOGICAL
RB-OTHER-PARAMETERS
User-defined parameters.
N/A
RB-STATUS-FILE
Status filename.
Required for PRNTRB2 only.
CHARACTER

See Chapter 3, "Report Engine Parameters," for a detailed description of each parameter.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095